<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <script>

        //计算三个数字和 对方会传入一个数组 [x,y,z]
        function cul(arr){
            let count = arr[0] + arr[1] + arr[2];
            return count;
        }

        function cul1([a,b,c]){
            let count = a+b+c;
            return count;
        }

    </script>
</body>
</html>